/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package PoJo;

/**
 *
 * @author Kute_Ants
 */
public class SanPham_CuaHangPOJO
{
    private String MaCuaHang;
    private String MaSanPham;
    private int SoLuongCon;
    
    //phuong thuc khoi tao

    public SanPham_CuaHangPOJO(String MaCuaHang, String MaSanPham, int SoLuongCon)
    {
        this.MaCuaHang = MaCuaHang;
        this.MaSanPham = MaSanPham;
        this.SoLuongCon = SoLuongCon;
    }
    
    public SanPham_CuaHangPOJO()
    {
        this.MaCuaHang = null;
        this.MaSanPham = null;
        this.SoLuongCon = 0;
    }
    
    public SanPham_CuaHangPOJO(SanPham_CuaHangPOJO SP_CH)
    {
        this.MaCuaHang = SP_CH.MaCuaHang;
        this.MaSanPham = SP_CH.MaSanPham;
        this.SoLuongCon = SP_CH.SoLuongCon;
    }
    
    // phuong thuc get set

    public String getMaCuaHang() {
        return MaCuaHang;
    }

    public void setMaCuaHang(String MaCuaHang) {
        this.MaCuaHang = MaCuaHang;
    }

    public String getMaSanPham() {
        return MaSanPham;
    }

    public void setMaSanPham(String MaSanPham) {
        this.MaSanPham = MaSanPham;
    }

    public int getSoLuongCon() {
        return SoLuongCon;
    }

    public void setSoLuongCon(int SoLuongCon) {
        this.SoLuongCon = SoLuongCon;
    }
    
    
    
    
}
